package pers.csw.lookBook.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import pers.csw.lookBook.mapper.ContentMapper;
import pers.csw.lookBook.entity.Content;
import pers.csw.lookBook.service.ContentService;

@Service
public class ContentServiceImpl extends ServiceImpl<ContentMapper, Content> implements ContentService {
    @Autowired
    ContentMapper contentMapper;
    @Override
    public Content getContent(Integer chapterId) {
        return contentMapper.getContent(chapterId);
    }
}
